const { ccclass, property } = cc._decorator;
import ecsComponent from '../app/ecs/ecsComponent';
@ccclass
export default class positionComponent extends ecsComponent {
    constructor() {
        // 此处super传入ecsName值, 规定Component及Entity所属(默认default)
        super(/*other*/);
    }
    get x() {
        return this.node.x;
    }
    set x(v) {
        this.node.x = v;
    }
}